﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JQueryEasyUI
{
     class CommonTools
    {
         public static string RemoveLastString(string source, string lastStr)
         {
             if (!string.IsNullOrEmpty(source))
             {
                 return source.Substring(0, source.LastIndexOf(lastStr));
             }
            
             return source;
         }
    }
   
}
